using SqlSugar;
using StudyCompanion.Core.Models;

namespace StudyCompanion.Entity.System;

/// <summary>
///     地址库
/// </summary>
[SugarTable("sys_area")]
public class SysArea : BaseEntity
{
    /// <summary>
    ///     编码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    ///     名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     上级编码
    /// </summary>
    public string Parent_Code { get; set; }

    /// <summary>
    ///     层级
    /// </summary>
    public int Level { get; set; }
}